﻿var myResource =
[{
    "id": "a",
    "title": "Auditorium A"
}, {
    "id": "b",
    "title": "Auditorium B",
    "eventColor": "green"
}, {
    "id": "c",
    "title": "Auditorium C",
    "eventColor": "orange"
}, {
    "id": "d",
    "title": "Auditorium D",
    "children": [{
        "id": "d1",
        "title": "Room D1"
    }, {
        "id": "d2",
        "title": "Room D2"
    }]
}, {
    "id": "e",
    "title": "Auditorium E"
}, {
    "id": "f",
    "title": "Auditorium F",
    "eventColor": "red"
}, {
    "id": "g",
    "title": "Auditorium G"
}, {
    "id": "h",
    "title": "Auditorium H"
}, {
    "id": "i",
    "title": "Auditorium I"
}, {
    "id": "j",
    "title": "Auditorium J"
}, {
    "id": "k",
    "title": "Auditorium K"
}, {
    "id": "l",
    "title": "Auditorium L"
}, {
    "id": "m",
    "title": "Auditorium M"
}, {
    "id": "n",
    "title": "Auditorium N"
}, {
    "id": "o",
    "title": "Auditorium O"
}, {
    "id": "p",
    "title": "Auditorium P"
}, {
    "id": "q",
    "title": "Auditorium Q"
}, {
    "id": "r",
    "title": "Auditorium R"
}, {
    "id": "s",
    "title": "Auditorium S"
}, {
    "id": "t",
    "title": "Auditorium T"
}, {
    "id": "u",
    "title": "Auditorium U"
}, {
    "id": "v",
    "title": "Auditorium V"
}, {
    "id": "w",
    "title": "Auditorium W"
}, {
    "id": "x",
    "title": "Auditorium X"
}, {
    "id": "y",
    "title": "Auditorium Y"
}, {
    "id": "z",
    "title": "Auditorium Z"
}];


//By Hours
var myEvents = [{
    "resourceId": "d",
    "title": "event 1",
    "start": "2019-09-24",
    "end": "2019-09-26"
}, {
    "resourceId": "c",
    "title": "event 3",
    "start": "2019-09-25T12:00:00+00:00",
    "end": "2019-09-26T06:00:00+00:00"
}, {
    "resourceId": "f",
    "title": "event 4",
    "start": "2019-09-25T07:30:00+00:00",
    "end": "2019-09-25T09:30:00+00:00"
}, {
    "resourceId": "b",
    "title": "event 5",
    "start": "2019-09-25T10:00:00+00:00",
    "end": "2019-09-25T15:00:00+00:00"
}, {
    "resourceId": "e",
    "title": "event 2",
    "start": "2019-09-25T09:00:00+00:00",
    "end": "2019-09-25T14:00:00+00:00"
}];